package com.youdoneed.community.forum.dao;

import com.youdoneed.community.forum.entity.Msgviewrecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 3D视频、酷视频浏览记录数据库接口
 */
@Mapper
public interface MsgviewrecordMapper {
    int deleteByPrimaryKey(String viewRecordId);

    int insert(Msgviewrecord record);

    int insertSelective(Msgviewrecord record);

    Msgviewrecord selectByPrimaryKey(String viewRecordId);

    int updateByPrimaryKeySelective(Msgviewrecord record);

    int updateByPrimaryKey(Msgviewrecord record);

    List<String> getRecordsByUserId(String userId);
}